﻿using SqlHelper;
using System; 

namespace Model.Permission
{
    public class User : EntityBase
    {
        public User()
        {
            PrimaryKey = "UserID";
            TableName = "TUser";
            AllField = "UserID,UserName,CreateTime,UpdateTime";
            KeyStatus = KeyStatus.Identity;
            OrderBy = " order by CreateTime desc ";
        }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int? UserID { set; get; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { set; get; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { set; get; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { set; get; }
    }
}
